package com.alkaid.commons.core;

/**
 * @author Kylin
 */
public class ParamDefinition {
    public static final String[] SORT = {"collect_num desc", "collect_num asc"};

    /**
     * 获取头像的http路径
     *
     * @param id the id
     * @return the avatar path
     */
    public static String getAvatarHttpPath(long id) {
        return "/img/user/" + id + "/avatar.jpg";
    }

    /**
     * 获取头像存储路径
     *
     * @param id the id
     * @return the avatar path
     */
    public static String getAvatarPath(long id) {
        return "./alkaid-gateway/src/main/resources/static/img/user/" + id + "/avatar.jpg";
    }
}
